import { defHttp } from '/@/utils/http/axios';
import { useMessage } from "/@/hooks/web/useMessage";

const { createConfirm } = useMessage();

enum Api {
  process = '/entrust/process/process',
}

/**
 * 获取流程图对应状态
 * @param params
 */
export const getProcess = (params) => defHttp.get({ url: Api.process, params },{ isTransformResponse: false });